<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:s="http://jboss.com/products/seam/taglib">

	<ui:composition template="/WEB-INF/template.xhtml">
	
		<ui:define name="topnav">
            <ui:include src="/WEB-INF/incl/admin_nav.xhtml" />
        </ui:define>

        <ui:define name="sidebar">
            <ui:include src="/WEB-INF/incl/login.xhtml" />
            <ui:include src="/WEB-INF/incl/stats.xhtml" />
            <ui:include src="/WEB-INF/incl/processmenu.xhtml" />
        </ui:define>
        
        <ui:define name="body">
        	<h1>Deposits Acceptence</h1>
        	<p>Please accept or reject the Deposits.</p>
        	<h:panelGrid columns="2">
        		<h:outputText value="recordId: " />
        		<h:outputText value="#{record.id}" />
        		<h:outputText value="customerName: " />
        		<h:outputText value="#{record.customer.userName}" />
        		<h:outputText value="depositAmount: "/>
        		<h:outputText value="#{record.depositAmount}" />
        		<s:div>
        			<!-- 占位符 -->
        		</s:div>
        		<s:div>
					<s:button value="Accept" action="#{accountdeposits.accept.accept}"/>
					<s:button value="Reject" action="#{accountdeposits.accept.reject}"/>
        		</s:div>
        	</h:panelGrid>
        </ui:define>

	</ui:composition>

</html>